package com.nov.multidatasource.entity.secondary;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tecrun.common.entity.DataEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @BelongsProject: TIMS
 * @BelongsPackage: com.tecrun.other.fileOperate.entity
 * @Author: wanJh
 * @CreateTime: 2023-02-28  14:55
 * @Description: TODO
 * @Version: 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("T_FILE_BASE_INDEX")
public class V6FileInfo extends DataEntity<V6FileInfo> {

    private static final long serialVersionUID = 1L;
    @TableField("file_id")
    private String file_id;
    //文件树形目录结构
    @TableField("file_folder")
    //流水号+文件路径标签
    private String file_folder;
    //文件树形目录编码 null
    @TableField("folder_code")
    private String folder_code;
    @TableField("file_name")
    private String file_name;
    @TableField("file_type")
    private String file_type;
    @TableField("file_suffix")
    private String file_suffix;
    @TableField("file_size")
    private String file_size;
    //    null
    @TableField("dpi")
    private String dpi;

    //    nul
    @TableField("file_compress")
    private String file_compress;
    @TableField("md5")
    private String md5;
    @TableField("file_num")
    private String file_num;
    @TableField("file_state")
    private String file_state;
    @TableField("busi_serial_no")
    private String busi_serial_no;
    @TableField("bill_num")
    private String bill_num;
    //    单据名称
    @TableField("busi_type_name")
    private String busi_type_name;

    //    aseSavePathnew+"/"+y+"/"+m+"/"+d+"/"+newbatchid+"/";
    @TableField("upload_batch_id")
    private String upload_batch_id;
    //    null
    @TableField("tenant_code")
    private String tenant_code;
    @TableField("scan_client")
    private String scan_client;
    @TableField("data_resource")
    private String data_resource;
    @TableField("file_id_share")
    private String file_id_share;
    @TableField("device_id")
    private String device_id;
    @TableField("client_ip")
    private String client_ip;
    @TableField("client_mac")
    private String client_mac;
    @TableField("longi_tude")
    private String longi_tude;
    @TableField("tati_tude")
    private String tati_tude;
    @TableField("bf_flag")
    private String bf_flag;
    @TableField("n_o_flag")
    private String n_o_flag;
    //    版式名称
    @TableField("file_format")
    private String file_format;

    //    null
    @TableField("file_version")
    private String file_version;
    //    null
    @TableField("image_deal_state")
    private String image_deal_state;
    //null
    @TableField("ocr_state")
    private String ocr_state;
    @TableField("folder_id")
    private String folder_id;
    //    null
    @TableField("barcode")
    private String barcode;
    @TableField("annotate")
//    null
    private String annotate;
    @TableField("isfrontpage")
    private String isfrontpage;
    @TableField("is_intact")
    private String is_intact;
    @TableField("scm_file_id")
    private String scm_file_id;
    @TableField("scm_system_id")
    private String scm_system_id;
    @TableField("create_user_id")
    private String create_user_id;
    @TableField("busi_stage_code")
    private String busi_stage_code;
    @TableField("cus_id")
    private String cus_id;
    @TableField("upload_address")
    private String upload_address;
    @TableField("scm_smallfile_id")
    private String scm_smallfile_id;
    @TableField("cus_name")
    private String cus_name;

    //    -1
    @TableField("system_code")
    private String system_code;
    @TableField("busi_code")
//    -1
    private String busi_code;
    @TableField("org_code")
//    -1
    private String org_code;
    @TableField("busi_channel")
//    -1
    private String busi_channel;
    @TableField("save_status")
    private String save_status;
    @TableField("check_state")
    private String check_state;
    @TableField("mark_state")
    private String mark_state;
    @TableField("data_receive_stage")
    private String data_receive_stage;
    @TableField("data_belong_user")
    private String data_belong_user;
    //    BaseSavePathnew+"/"+y+"/"+m+"/"+d+"/"+newbatchid+"/";
    @TableField("file_path")
    private String file_path;
    @TableField("comments")
    private String comments;
    @TableField("exp_date")
    private String exp_date;
    @TableField("is_used")
    private String is_used;
    @TableField("is_blank")
    private String is_blank;
    @TableField("file_format_name")
    private String file_format_name;
    @TableField("is_historical")
    private String is_historical;
    @TableField("source_file_id")
    private String source_file_id;
    /**
     * 客户端操作系统信息
     */
    @TableField("os_info")
    private String os_info;
    /**
     * 批扫NO
     */
    @TableField("batch_scan_no")
    private String batch_scan_no;
    /**
     * 是否支持OCR 1支持 0不支持
     */
    @TableField("is_support_ocr")
    private String is_support_ocr;
    /**
     * 是否为发票  0不是  1是
     */
    @TableField("is_invoice")
    private String is_invoice;
    /**
     * 是否关联  0不是  1是
     */
    @TableField("is_related")
    private String is_related;
    @TableField("cus1")
    private String cus1;
    @TableField("cus2")
    private String cus2;
    @TableField("cus3")
    private String cus3;
    @TableField("cus4")
    private String cus4;
    @TableField("cus5")
    private String cus5;
    @TableField("cus6")
    private String cus6;
    @TableField("cus7")
    private String cus7;
    @TableField("cus8")
    private String cus8;
    @TableField("cus9")
    private String cus9;
    @TableField("cus10")
    private String cus10;
    @TableField("imagehei")
    private String imagehei;
    @TableField("imagewid")
    private String imagewid;
    /**
     * 查验查重具体信息
     */
    @TableField("check_info")
    private String checkInfo;

    //验印新增参数
    @TableField(exist = false)
    private String resultCode;
    @TableField(exist = false)
    private String resultMsg;
    @TableField(exist = false)
    private String calibrationParams;
    @TableField(exist = false)
    private String imageUrl;
    @TableField(exist = false)
    private String thumbUrl;
    @TableField(exist = false)
    private String videoPicUrl;
    @TableField(exist = false)
    private String videoSmallPicUrl;
    @TableField(exist = false)
    private String fileURL;
    /**
     * ocr查重状态：0:未查重 1:已查重-重复 2:已查重-未重复 3:无需查重 4:忽略查重
     */
    @TableField("repeat_state")
    private String repeatState;

    @TableField("notify_state")
    private String notifyState;

    /**
     * ocr忽略查重状态 0不忽略（默认） 1忽略
     */
    @TableField("ignore_repeat_state")
    private String ignoreRepeatState;

    /**
     * 复合版式
     */
    @TableField("combination_format")
    private Integer combinationFormat;
}
